package com.financing.wap.service;


import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.financing.wap.dto.DstIntegralRuleDTO;
/**
 * dst_integral_rule  
 * 积分规则表 业务访问层接口
 * @author huqiyun
 *
 */
public interface IDstIntegralRuleService {

 	public int insert(DstIntegralRuleDTO dstIntegralRule) throws SQLException;
    
    public void update(DstIntegralRuleDTO dstIntegralRule) throws SQLException;
   
    public void updateForce(DstIntegralRuleDTO dstIntegralRule) throws SQLException;
   
    public void delete(Integer id) throws SQLException;
	
    public List<DstIntegralRuleDTO> queryList(DstIntegralRuleDTO dstIntegralRule)throws SQLException;
    
    public int queryListCount(DstIntegralRuleDTO dstIntegralRule) throws SQLException;
   
    public DstIntegralRuleDTO loadById(Integer id) throws SQLException;
    
    public DstIntegralRuleDTO queryListGetFirst(DstIntegralRuleDTO dstIntegralRule)throws SQLException;

    public DstIntegralRuleDTO loadByBusinessType(String businessType) throws SQLException;

    public void execute(String openId,String businessType)throws Exception;
    public void executePay(String openId,Integer payProductId,String  orderId)throws Exception;
    public void executeSubscribe(String openId)throws Exception;
    public void executeAuth(String openId)throws Exception;

}
